---
title: Quickstart Guide
sidebar_label: Quickstart
---

import InstallCLIFragment from './fragments/install/cli.mdx'
import DeployFragment from './fragments/deploy-vcluster.mdx'
import DeleteFragment from './fragments/delete-vcluster.mdx'

## 1. Download vcluster CLI
Use one of the following commands to download the vcluster CLI binary from GitHub:

<InstallCLIFragment/>

## 2. Create a vcluster
<DeployFragment/>

## 3. Use the vcluster
`vcluster connect` creates a local kubeconfig file that references the vcluster.
```bash
# Create a kube config for the vcluster and optionally start port-forwarding to it (if --expose was not used)
vcluster connect vcluster-1 -n host-namespace-1
export KUBECONFIG=./kubeconfig.yaml

# Run any kubectl, helm, etc. command in your vcluster
kubectl get namespace
kubectl get pods -n kube-system
kubectl create namespace demo-nginx
kubectl create deployment nginx-deployment -n demo-nginx --image=nginx
kubectl get pods -n demo-nginx
```

## 4. Cleanup
<DeleteFragment/>
